Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
#1
by
ysharma
HF staff
- opened
README.md
CHANGED
@@ -4,7 +4,7 @@ emoji: π
|
|
4 |
colorFrom: gray
|
5 |
colorTo: green
|
6 |
sdk: gradio
|
7 |
-
sdk_version:
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: apache-2.0
|
|
|
4 |
colorFrom: gray
|
5 |
colorTo: green
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 5.0.2
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: apache-2.0
|
app.py
CHANGED
@@ -139,7 +139,7 @@ latex_delimiters_set = [{
|
|
139 |
}]
|
140 |
|
141 |
text_input = gr.Textbox(label="prompt", placeholder="Enter your text here...", lines=1, container=False)
|
142 |
-
with gr.Blocks(title=model_name.split('/')[-1]) as demo:
|
143 |
gr.HTML(html)
|
144 |
with gr.Row():
|
145 |
with gr.Column(scale=3):
|
|
|
139 |
}]
|
140 |
|
141 |
text_input = gr.Textbox(label="prompt", placeholder="Enter your text here...", lines=1, container=False)
|
142 |
+
with gr.Blocks(title=model_name.split('/')[-1], theme=gr.themes.Ocean()) as demo:
|
143 |
gr.HTML(html)
|
144 |
with gr.Row():
|
145 |
with gr.Column(scale=3):
|