Spaces:
Running
on
L40S
Running
on
L40S
Update app.py
Browse files
app.py
CHANGED
|
@@ -87,11 +87,7 @@ def query_vllm_api(image, temperature, max_tokens=12_000):
|
|
| 87 |
print("=== DEBUG: Creating Gradio interface ===")
|
| 88 |
|
| 89 |
|
| 90 |
-
with gr.Blocks(title="NuMarkdown-8B-Thinking"
|
| 91 |
-
* {
|
| 92 |
-
font-family: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif !important;
|
| 93 |
-
}
|
| 94 |
-
""") as demo:
|
| 95 |
gr.HTML("""
|
| 96 |
<div style="text-align: center; padding: 20px; background: linear-gradient(90deg, #667eea 0%, #764ba2 100%); border-radius: 10px; margin-bottom: 20px;">
|
| 97 |
<h1 style="color: white; margin: 0; font-size: 2.5em; font-weight: bold;">👁️ NuMarkdown-8B-Thinking</h1>
|
|
@@ -159,6 +155,12 @@ if __name__ == "__main__":
|
|
| 159 |
demo.launch(
|
| 160 |
server_name="0.0.0.0",
|
| 161 |
server_port=7860,
|
| 162 |
-
share=True
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 163 |
)
|
| 164 |
print("=== DEBUG: Gradio launched ===")
|
|
|
|
| 87 |
print("=== DEBUG: Creating Gradio interface ===")
|
| 88 |
|
| 89 |
|
| 90 |
+
with gr.Blocks(title="NuMarkdown-8B-Thinking") as demo:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 91 |
gr.HTML("""
|
| 92 |
<div style="text-align: center; padding: 20px; background: linear-gradient(90deg, #667eea 0%, #764ba2 100%); border-radius: 10px; margin-bottom: 20px;">
|
| 93 |
<h1 style="color: white; margin: 0; font-size: 2.5em; font-weight: bold;">👁️ NuMarkdown-8B-Thinking</h1>
|
|
|
|
| 155 |
demo.launch(
|
| 156 |
server_name="0.0.0.0",
|
| 157 |
server_port=7860,
|
| 158 |
+
share=True,
|
| 159 |
+
theme=gr.themes.Soft(),
|
| 160 |
+
css="""
|
| 161 |
+
* {
|
| 162 |
+
font-family: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif !important;
|
| 163 |
+
}
|
| 164 |
+
"""
|
| 165 |
)
|
| 166 |
print("=== DEBUG: Gradio launched ===")
|