Spaces:
Running
on
Zero
Running
on
Zero
kwabs22
commited on
Commit
·
682a3d3
1
Parent(s):
67949a9
Config based info to help users
Browse files
app.py
CHANGED
@@ -1222,31 +1222,31 @@ Would you like me to elaborate on any of these ideas or show how to implement th
|
|
1222 |
}
|
1223 |
}"""
|
1224 |
gr.HTML("Suggestt")
|
1225 |
-
with gr.Row():
|
1226 |
-
with gr.Column(scale=1):
|
1227 |
-
|
1228 |
#display_originalconfigatbeinningofthisspace = json.loads(originalconfigatbeinningofthisspace)
|
1229 |
-
gr.HTML(f"<pre style='font-size: 6px;'>{display_originalconfigatbeinningofthisspace}</pre>")
|
1230 |
#gr.Code(value=json.dumps(originalconfigatbeinningofthisspace, indent=2), language="json") #originalconfigatbeinningofthisspace)
|
1231 |
-
with gr.Column(scale=2):
|
1232 |
-
|
1233 |
-
gr.HTML(f"<pre style='font-size: 6px;'>{display_claude3_5_06072024configtips}</pre>")
|
1234 |
-
with gr.Column(scale=1):
|
1235 |
-
|
1236 |
#display_tipsupdatedconfigatbeinningofthisspace = json.loads(tipsupdatedconfigatbeinningofthisspace)
|
1237 |
-
gr.HTML(f"<pre style='font-size: 6px;'>{display_tipsupdatedconfigatbeinningofthisspace}</pre>")
|
1238 |
#gr.Code(value=json.dumps(display_tipsupdatedconfigatbeinningofthisspace, indent=2), language="json")
|
1239 |
-
|
1240 |
-
|
1241 |
-
|
1242 |
-
|
1243 |
-
|
1244 |
-
|
1245 |
-
|
1246 |
-
|
1247 |
-
|
1248 |
-
|
1249 |
-
|
1250 |
|
1251 |
with gr.Tab("Test and Edit Config"):
|
1252 |
gr.HTML("The main issue is frequent changes add more chances for bugs in how ")
|
|
|
1222 |
}
|
1223 |
}"""
|
1224 |
gr.HTML("Suggestt")
|
1225 |
+
# with gr.Row():
|
1226 |
+
# with gr.Column(scale=1):
|
1227 |
+
display_originalconfigatbeinningofthisspace = originalconfigatbeinningofthisspace.replace(' ', ' ').replace('\n', '<br>')
|
1228 |
#display_originalconfigatbeinningofthisspace = json.loads(originalconfigatbeinningofthisspace)
|
1229 |
+
# gr.HTML(f"<pre style='font-size: 6px;'>{display_originalconfigatbeinningofthisspace}</pre>")
|
1230 |
#gr.Code(value=json.dumps(originalconfigatbeinningofthisspace, indent=2), language="json") #originalconfigatbeinningofthisspace)
|
1231 |
+
# with gr.Column(scale=2):
|
1232 |
+
display_claude3_5_06072024configtips = claude3_5_06072024configtips.replace(' ', ' ').replace('\n', '<br>')
|
1233 |
+
# gr.HTML(f"<pre style='font-size: 6px;'>{display_claude3_5_06072024configtips}</pre>")
|
1234 |
+
# with gr.Column(scale=1):
|
1235 |
+
display_tipsupdatedconfigatbeinningofthisspace = tipsupdatedconfigatbeinningofthisspace.replace(' ', ' ').replace('\n', '<br>')
|
1236 |
#display_tipsupdatedconfigatbeinningofthisspace = json.loads(tipsupdatedconfigatbeinningofthisspace)
|
1237 |
+
# gr.HTML(f"<pre style='font-size: 6px;'>{display_tipsupdatedconfigatbeinningofthisspace}</pre>")
|
1238 |
#gr.Code(value=json.dumps(display_tipsupdatedconfigatbeinningofthisspace, indent=2), language="json")
|
1239 |
+
gr.HTML("""<div style="display: flex; justify-content: space-between;">
|
1240 |
+
<div style="flex: 1; margin: 0 10px; padding: 20px; background-color: #f0f0f0; text-align: center;">
|
1241 |
+
""" + display_originalconfigatbeinningofthisspace + """
|
1242 |
+
</div>
|
1243 |
+
<div style="flex: 1; margin: 0 10px; padding: 20px; background-color: #f0f0f0; text-align: center;">
|
1244 |
+
""" + display_claude3_5_06072024configtips + """
|
1245 |
+
</div>
|
1246 |
+
<div style="flex: 1; margin: 0 10px; padding: 20px; background-color: #f0f0f0; text-align: center;">
|
1247 |
+
""" + display_tipsupdatedconfigatbeinningofthisspace + """
|
1248 |
+
</div>
|
1249 |
+
</div>""")
|
1250 |
|
1251 |
with gr.Tab("Test and Edit Config"):
|
1252 |
gr.HTML("The main issue is frequent changes add more chances for bugs in how ")
|