Spaces:
Sleeping
Sleeping
[Update]Use about content
Browse files
app.py
CHANGED
@@ -1,6 +1,24 @@
|
|
1 |
import gradio as gr
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
with gr.Blocks() as demo:
|
|
|
|
|
4 |
with gr.Row():
|
5 |
drop1 = gr.Dropdown(["Church", "Parachute", "Garbage"], label="Objects")
|
6 |
drop2 = gr.Dropdown(["Van Gogh"], label="Styles")
|
|
|
1 |
import gradio as gr
|
2 |
+
import os
|
3 |
+
import requests
|
4 |
+
import json
|
5 |
+
from huggingface_hub import login
|
6 |
+
|
7 |
+
from css_html_js import custom_css
|
8 |
+
|
9 |
+
from about import (
|
10 |
+
CITATION_BUTTON_LABEL,
|
11 |
+
CITATION_BUTTON_TEXT,
|
12 |
+
EVALUATION_QUEUE_TEXT,
|
13 |
+
INTRODUCTION_TEXT,
|
14 |
+
LLM_BENCHMARKS_TEXT,
|
15 |
+
TITLE,
|
16 |
+
)
|
17 |
+
|
18 |
|
19 |
with gr.Blocks() as demo:
|
20 |
+
gr.HTML(TITLE)
|
21 |
+
gr.Markdown(INTRODUCTION_TEXT, elem_classes="markdown-text")
|
22 |
with gr.Row():
|
23 |
drop1 = gr.Dropdown(["Church", "Parachute", "Garbage"], label="Objects")
|
24 |
drop2 = gr.Dropdown(["Van Gogh"], label="Styles")
|