Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
import os
|
2 |
import torch
|
|
|
3 |
import requests
|
4 |
import gradio as gr
|
5 |
import transformers
|
@@ -204,7 +205,7 @@ def process_document(image, question, llm):
|
|
204 |
theme = gr.themes.Monochrome(
|
205 |
primary_hue="indigo",
|
206 |
secondary_hue="blue",
|
207 |
-
neutral_hue="slate",
|
208 |
radius_size=gr.themes.sizes.radius_sm,
|
209 |
font=[gr.themes.GoogleFont("Open Sans"), "ui-sans-serif", "system-ui", "sans-serif"],
|
210 |
)
|
|
|
1 |
import os
|
2 |
import torch
|
3 |
+
import openai
|
4 |
import requests
|
5 |
import gradio as gr
|
6 |
import transformers
|
|
|
205 |
theme = gr.themes.Monochrome(
|
206 |
primary_hue="indigo",
|
207 |
secondary_hue="blue",
|
208 |
+
# neutral_hue="slate",
|
209 |
radius_size=gr.themes.sizes.radius_sm,
|
210 |
font=[gr.themes.GoogleFont("Open Sans"), "ui-sans-serif", "system-ui", "sans-serif"],
|
211 |
)
|