Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -9,22 +9,8 @@ install_flash_attn()
|
|
9 |
HF_TOKEN = os.getenv("HF_TOKEN")
|
10 |
authenticate_hf(HF_TOKEN)
|
11 |
|
12 |
-
# Define a customized theme based on the Soft theme
|
13 |
-
theme = gr.themes.Soft(
|
14 |
-
primary_hue="blue",
|
15 |
-
secondary_hue="green",
|
16 |
-
neutral_hue="gray",
|
17 |
-
spacing_size="lg",
|
18 |
-
radius_size="sm",
|
19 |
-
text_size="lg"
|
20 |
-
).set(
|
21 |
-
button_primary_background_fill="*primary_500",
|
22 |
-
button_primary_background_fill_hover="*primary_700",
|
23 |
-
button_primary_border_radius="*radius_md"
|
24 |
-
)
|
25 |
-
|
26 |
# Create the Gradio Blocks interface
|
27 |
-
with gr.Blocks(theme=
|
28 |
with gr.Row():
|
29 |
with gr.Column():
|
30 |
textbox = gr.Textbox(label="Model Name", placeholder="Enter the model name here OR select example below...", lines=1)
|
|
|
9 |
HF_TOKEN = os.getenv("HF_TOKEN")
|
10 |
authenticate_hf(HF_TOKEN)
|
11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
# Create the Gradio Blocks interface
|
13 |
+
with gr.Blocks(theme="bethecloud/storj_theme") as demo:
|
14 |
with gr.Row():
|
15 |
with gr.Column():
|
16 |
textbox = gr.Textbox(label="Model Name", placeholder="Enter the model name here OR select example below...", lines=1)
|