Datasets:

Modalities:
Image
Size:
< 1K
Libraries:
Datasets
License:
File size: 4,154 Bytes
0cb07ca
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 500">
  <!-- Styles and definitions -->
  <defs>
    <filter id="drop-shadow" x="-20%" y="-20%" width="140%" height="140%">
      <feDropShadow dx="3" dy="3" stdDeviation="3" flood-opacity="0.3"/>
    </filter>
    <!-- Gradio color -->
    <linearGradient id="gradioGradient" x1="0%" y1="0%" x2="100%" y2="0%">
      <stop offset="0%" style="stop-color:#FF7C00;stop-opacity:1" />
      <stop offset="100%" style="stop-color:#FF9E44;stop-opacity:1" />
    </linearGradient>
  </defs>

  <!-- Background -->
  <rect width="800" height="500" fill="#f8f9fa" rx="10" ry="10"/>
  
  <!-- User's Computer -->
  <g transform="translate(100, 150)">
    <rect width="200" height="160" rx="10" ry="10" fill="white" stroke="#333" stroke-width="2" filter="url(#drop-shadow)"/>
    <text x="100" y="30" font-family="Arial" font-size="16" text-anchor="middle" font-weight="bold">User's Computer</text>
    
    <!-- Gradio App -->
    <rect x="20" y="50" width="160" height="40" rx="5" ry="5" fill="url(#gradioGradient)" stroke="#333" stroke-width="1"/>
    <text x="100" y="75" font-family="Arial" font-size="14" text-anchor="middle" fill="white">Gradio App</text>
    
    <!-- FRP Client -->
    <rect x="20" y="100" width="160" height="40" rx="5" ry="5" fill="#4a86e8" stroke="#333" stroke-width="1"/>
    <text x="100" y="125" font-family="Arial" font-size="14" text-anchor="middle" fill="white">FRP Client</text>
  </g>

  <!-- Gradio Share Server -->
  <g transform="translate(500, 120)">
    <rect width="200" height="220" rx="10" ry="10" fill="white" stroke="#333" stroke-width="2" filter="url(#drop-shadow)"/>
    <text x="100" y="30" font-family="Arial" font-size="16" text-anchor="middle" font-weight="bold">Gradio Share Server</text>
    
    <!-- FRP Server -->
    <rect x="20" y="50" width="160" height="40" rx="5" ry="5" fill="#4a86e8" stroke="#333" stroke-width="1"/>
    <text x="100" y="75" font-family="Arial" font-size="14" text-anchor="middle" fill="white">FRP Server</text>
    
    <!-- Public Link -->
    <rect x="20" y="100" width="160" height="60" rx="5" ry="5" fill="url(#gradioGradient)" stroke="#333" stroke-width="1"/>
    <text x="100" y="125" font-family="Arial" font-size="14" text-anchor="middle" fill="white">Public Link</text>
    <text x="100" y="145" font-family="Arial" font-size="12" text-anchor="middle" fill="white">xxxxx.gradio.live</text>
    
    <!-- Server image -->
    <rect x="50" y="170" width="100" height="30" rx="5" ry="5" fill="#666" stroke="#333" stroke-width="1"/>
    <rect x="80" y="160" width="40" height="10" rx="2" ry="2" fill="#666" stroke="#333" stroke-width="1"/>
    <circle cx="90" cy="185" r="3" fill="#77dd77"/>
    <circle cx="105" cy="185" r="3" fill="#ffb347"/>
    <circle cx="120" cy="185" r="3" fill="#ff6961"/>
  </g>
  

  
  <!-- Connection arrows -->
  <!-- User to Server -->
  <g>
    <path d="M300,180 Q400,110 500,180" fill="none" stroke="#333" stroke-width="2" marker-end="url(#arrowhead)"/>
    <text x="400" y="120" font-family="Arial" font-size="12" text-anchor="middle">Secure Tunnel</text>
  </g>
  
  <!-- Server to User -->
  <g>
    <path d="M500,220 Q400,290 300,220" fill="none" stroke="#333" stroke-width="2" marker-end="url(#arrowhead)"/>
    <text x="400" y="300" font-family="Arial" font-size="12" text-anchor="middle">Proxied Traffic</text>
  </g>
  

  
  <!-- Arrow marker -->
  <defs>
    <marker id="arrowhead" markerWidth="10" markerHeight="7" refX="0" refY="3.5" orient="auto">
      <polygon points="0 0, 10 3.5, 0 7" fill="#333"/>
    </marker>
  </defs>
  
  <!-- Title -->
  <text x="400" y="40" font-family="Arial" font-size="22" text-anchor="middle" font-weight="bold">Fast Reverse Proxy (FRP) in Gradio Share</text>
  
  <!-- Legend -->
  <g transform="translate(50, 400)">
    <rect x="0" y="0" width="20" height="20" fill="url(#gradioGradient)"/>
    <text x="30" y="15" font-family="Arial" font-size="14">Gradio Components</text>
    
    <rect x="0" y="30" width="20" height="20" fill="#4a86e8"/>
    <text x="30" y="45" font-family="Arial" font-size="14">FRP Components</text>
  </g>
</svg>