Spaces:
Sleeping
Sleeping
HaochenGong commited on
Commit Β·
c3467ba
1
Parent(s): e914da7
change url in html
Browse files- .idea/workspace.xml +35 -7
- app.py +1 -1
- {layout/images β images}/eg1.jpg +0 -0
- {layout/images β images}/eg2.jpg +0 -0
- {layout/images β images}/eg3.jpg +0 -0
- {layout/images β images}/head.jpg +0 -0
- {layout/images β images}/point.png +0 -0
- layout/web_page.css β web_page.css +0 -0
- layout/web_page.html β web_page.html +6 -6
.idea/workspace.xml
CHANGED
|
@@ -4,11 +4,16 @@
|
|
| 4 |
<option name="autoReloadType" value="SELECTIVE" />
|
| 5 |
</component>
|
| 6 |
<component name="ChangeListManager">
|
| 7 |
-
<list default="true" id="5e4481c0-7ba2-42e4-bbe6-4c36a0d36baa" name="Changes" comment="
|
| 8 |
-
<change afterPath="$PROJECT_DIR$/layout/web_page.css" afterDir="false" />
|
| 9 |
-
<change afterPath="$PROJECT_DIR$/layout/web_page.html" afterDir="false" />
|
| 10 |
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
| 11 |
<change beforePath="$PROJECT_DIR$/app.py" beforeDir="false" afterPath="$PROJECT_DIR$/app.py" afterDir="false" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
</list>
|
| 13 |
<option name="SHOW_DIALOG" value="false" />
|
| 14 |
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
@@ -49,9 +54,9 @@
|
|
| 49 |
}]]></component>
|
| 50 |
<component name="RecentsManager">
|
| 51 |
<key name="MoveFile.RECENT_KEYS">
|
|
|
|
| 52 |
<recent name="$PROJECT_DIR$/web_design" />
|
| 53 |
<recent name="$PROJECT_DIR$/google_drive_credentials" />
|
| 54 |
-
<recent name="$PROJECT_DIR$" />
|
| 55 |
</key>
|
| 56 |
</component>
|
| 57 |
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
|
|
@@ -64,7 +69,7 @@
|
|
| 64 |
<updated>1723386888312</updated>
|
| 65 |
<workItem from="1723386893769" duration="12000" />
|
| 66 |
<workItem from="1723386970626" duration="451000" />
|
| 67 |
-
<workItem from="1723387453009" duration="
|
| 68 |
</task>
|
| 69 |
<task id="LOCAL-00001" summary="create">
|
| 70 |
<created>1723387548126</created>
|
|
@@ -185,7 +190,28 @@
|
|
| 185 |
<option name="project" value="LOCAL" />
|
| 186 |
<updated>1723462386739</updated>
|
| 187 |
</task>
|
| 188 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 189 |
<servers />
|
| 190 |
</component>
|
| 191 |
<component name="TypeScriptGeneratedFilesManager">
|
|
@@ -201,6 +227,8 @@
|
|
| 201 |
<MESSAGE value="test auto delete" />
|
| 202 |
<MESSAGE value="test auto monitor" />
|
| 203 |
<MESSAGE value="complete log part" />
|
| 204 |
-
<
|
|
|
|
|
|
|
| 205 |
</component>
|
| 206 |
</project>
|
|
|
|
| 4 |
<option name="autoReloadType" value="SELECTIVE" />
|
| 5 |
</component>
|
| 6 |
<component name="ChangeListManager">
|
| 7 |
+
<list default="true" id="5e4481c0-7ba2-42e4-bbe6-4c36a0d36baa" name="Changes" comment="change url in html">
|
|
|
|
|
|
|
| 8 |
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
| 9 |
<change beforePath="$PROJECT_DIR$/app.py" beforeDir="false" afterPath="$PROJECT_DIR$/app.py" afterDir="false" />
|
| 10 |
+
<change beforePath="$PROJECT_DIR$/layout/images/eg1.jpg" beforeDir="false" afterPath="$PROJECT_DIR$/images/eg1.jpg" afterDir="false" />
|
| 11 |
+
<change beforePath="$PROJECT_DIR$/layout/images/eg2.jpg" beforeDir="false" afterPath="$PROJECT_DIR$/images/eg2.jpg" afterDir="false" />
|
| 12 |
+
<change beforePath="$PROJECT_DIR$/layout/images/eg3.jpg" beforeDir="false" afterPath="$PROJECT_DIR$/images/eg3.jpg" afterDir="false" />
|
| 13 |
+
<change beforePath="$PROJECT_DIR$/layout/images/head.jpg" beforeDir="false" afterPath="$PROJECT_DIR$/images/head.jpg" afterDir="false" />
|
| 14 |
+
<change beforePath="$PROJECT_DIR$/layout/images/point.png" beforeDir="false" afterPath="$PROJECT_DIR$/images/point.png" afterDir="false" />
|
| 15 |
+
<change beforePath="$PROJECT_DIR$/layout/web_page.css" beforeDir="false" afterPath="$PROJECT_DIR$/web_page.css" afterDir="false" />
|
| 16 |
+
<change beforePath="$PROJECT_DIR$/layout/web_page.html" beforeDir="false" afterPath="$PROJECT_DIR$/web_page.html" afterDir="false" />
|
| 17 |
</list>
|
| 18 |
<option name="SHOW_DIALOG" value="false" />
|
| 19 |
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
|
|
| 54 |
}]]></component>
|
| 55 |
<component name="RecentsManager">
|
| 56 |
<key name="MoveFile.RECENT_KEYS">
|
| 57 |
+
<recent name="$PROJECT_DIR$" />
|
| 58 |
<recent name="$PROJECT_DIR$/web_design" />
|
| 59 |
<recent name="$PROJECT_DIR$/google_drive_credentials" />
|
|
|
|
| 60 |
</key>
|
| 61 |
</component>
|
| 62 |
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
|
|
|
|
| 69 |
<updated>1723386888312</updated>
|
| 70 |
<workItem from="1723386893769" duration="12000" />
|
| 71 |
<workItem from="1723386970626" duration="451000" />
|
| 72 |
+
<workItem from="1723387453009" duration="20776000" />
|
| 73 |
</task>
|
| 74 |
<task id="LOCAL-00001" summary="create">
|
| 75 |
<created>1723387548126</created>
|
|
|
|
| 190 |
<option name="project" value="LOCAL" />
|
| 191 |
<updated>1723462386739</updated>
|
| 192 |
</task>
|
| 193 |
+
<task id="LOCAL-00018" summary="change to html">
|
| 194 |
+
<created>1723480210476</created>
|
| 195 |
+
<option name="number" value="00018" />
|
| 196 |
+
<option name="presentableId" value="LOCAL-00018" />
|
| 197 |
+
<option name="project" value="LOCAL" />
|
| 198 |
+
<updated>1723480210476</updated>
|
| 199 |
+
</task>
|
| 200 |
+
<task id="LOCAL-00019" summary="change url in html">
|
| 201 |
+
<created>1723480556050</created>
|
| 202 |
+
<option name="number" value="00019" />
|
| 203 |
+
<option name="presentableId" value="LOCAL-00019" />
|
| 204 |
+
<option name="project" value="LOCAL" />
|
| 205 |
+
<updated>1723480556050</updated>
|
| 206 |
+
</task>
|
| 207 |
+
<task id="LOCAL-00020" summary="change url in html">
|
| 208 |
+
<created>1723480879169</created>
|
| 209 |
+
<option name="number" value="00020" />
|
| 210 |
+
<option name="presentableId" value="LOCAL-00020" />
|
| 211 |
+
<option name="project" value="LOCAL" />
|
| 212 |
+
<updated>1723480879169</updated>
|
| 213 |
+
</task>
|
| 214 |
+
<option name="localTasksCounter" value="21" />
|
| 215 |
<servers />
|
| 216 |
</component>
|
| 217 |
<component name="TypeScriptGeneratedFilesManager">
|
|
|
|
| 227 |
<MESSAGE value="test auto delete" />
|
| 228 |
<MESSAGE value="test auto monitor" />
|
| 229 |
<MESSAGE value="complete log part" />
|
| 230 |
+
<MESSAGE value="change to html" />
|
| 231 |
+
<MESSAGE value="change url in html" />
|
| 232 |
+
<option name="LAST_COMMIT_MESSAGE" value="change url in html" />
|
| 233 |
</component>
|
| 234 |
</project>
|
app.py
CHANGED
|
@@ -309,7 +309,7 @@ def new_example_inference_3():
|
|
| 309 |
# complete_result_dataframe.visible = not complete_result_dataframe.visible
|
| 310 |
|
| 311 |
|
| 312 |
-
with open('
|
| 313 |
html_content = file.read()
|
| 314 |
|
| 315 |
with gr.Blocks() as demo:
|
|
|
|
| 309 |
# complete_result_dataframe.visible = not complete_result_dataframe.visible
|
| 310 |
|
| 311 |
|
| 312 |
+
with open('web_page.html', 'r', encoding='utf-8') as file:
|
| 313 |
html_content = file.read()
|
| 314 |
|
| 315 |
with gr.Blocks() as demo:
|
{layout/images β images}/eg1.jpg
RENAMED
|
File without changes
|
{layout/images β images}/eg2.jpg
RENAMED
|
File without changes
|
{layout/images β images}/eg3.jpg
RENAMED
|
File without changes
|
{layout/images β images}/head.jpg
RENAMED
|
File without changes
|
{layout/images β images}/point.png
RENAMED
|
File without changes
|
layout/web_page.css β web_page.css
RENAMED
|
File without changes
|
layout/web_page.html β web_page.html
RENAMED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<title>Cpp4App Test</title>
|
| 6 |
-
<link rel="stylesheet" type="text/css" href="
|
| 7 |
</head>
|
| 8 |
<body>
|
| 9 |
|
|
@@ -17,7 +17,7 @@
|
|
| 17 |
</div>
|
| 18 |
</div>
|
| 19 |
<div class="title_half">
|
| 20 |
-
<img src="
|
| 21 |
</div>
|
| 22 |
</div>
|
| 23 |
|
|
@@ -28,15 +28,15 @@
|
|
| 28 |
<p>Click to run the example !</p>
|
| 29 |
<div class="img_box">
|
| 30 |
<div class="eg">
|
| 31 |
-
<a href="#step2"><img src="
|
| 32 |
<p>Β· WhatsApp</p>
|
| 33 |
</div>
|
| 34 |
<div class="eg">
|
| 35 |
-
<a href="#step2"><img src="
|
| 36 |
<p>Β· Snap</p>
|
| 37 |
</div>
|
| 38 |
<div class="eg">
|
| 39 |
-
<a href="#step2"><img src="
|
| 40 |
<p>Β· Mcdonald's</p>
|
| 41 |
</div>
|
| 42 |
</div>
|
|
@@ -62,7 +62,7 @@
|
|
| 62 |
<label for="image-input">Step 2 : Upload the screenshot</label>
|
| 63 |
<input type="file" accept="image/*" id="image-input" class="phone">
|
| 64 |
</div>
|
| 65 |
-
<div class="point"><img src="
|
| 66 |
<div class="img">
|
| 67 |
<label for="output">Outcome :</label>
|
| 68 |
<div class="phone" id="output">
|
|
|
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<title>Cpp4App Test</title>
|
| 6 |
+
<link rel="stylesheet" type="text/css" href="./web_page.css">
|
| 7 |
</head>
|
| 8 |
<body>
|
| 9 |
|
|
|
|
| 17 |
</div>
|
| 18 |
</div>
|
| 19 |
<div class="title_half">
|
| 20 |
+
<img src="./images/head.jpg" alt="">
|
| 21 |
</div>
|
| 22 |
</div>
|
| 23 |
|
|
|
|
| 28 |
<p>Click to run the example !</p>
|
| 29 |
<div class="img_box">
|
| 30 |
<div class="eg">
|
| 31 |
+
<a href="#step2"><img src="./images/eg1.jpg" alt=""></a>
|
| 32 |
<p>Β· WhatsApp</p>
|
| 33 |
</div>
|
| 34 |
<div class="eg">
|
| 35 |
+
<a href="#step2"><img src="./images/eg2.jpg" alt=""></a>
|
| 36 |
<p>Β· Snap</p>
|
| 37 |
</div>
|
| 38 |
<div class="eg">
|
| 39 |
+
<a href="#step2"><img src="./images/eg3.jpg" alt=""></a>
|
| 40 |
<p>Β· Mcdonald's</p>
|
| 41 |
</div>
|
| 42 |
</div>
|
|
|
|
| 62 |
<label for="image-input">Step 2 : Upload the screenshot</label>
|
| 63 |
<input type="file" accept="image/*" id="image-input" class="phone">
|
| 64 |
</div>
|
| 65 |
+
<div class="point"><img src="./images/point.png" alt=""></div>
|
| 66 |
<div class="img">
|
| 67 |
<label for="output">Outcome :</label>
|
| 68 |
<div class="phone" id="output">
|