snackshell commited on
Commit
d40fdb6
·
verified ·
1 Parent(s): 6686e2a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -81,6 +81,13 @@ def generate_image(prompt):
81
  except Exception as e:
82
  return None, f"⚠️ Error: {str(e)[:200]}"
83
 
 
 
 
 
 
 
 
84
  # ===== GRADIO INTERFACE =====
85
  with gr.Blocks(theme=theme, title="SelamGPT Image Generator") as demo:
86
  gr.Markdown("""
 
81
  except Exception as e:
82
  return None, f"⚠️ Error: {str(e)[:200]}"
83
 
84
+ # ===== GRADIO THEME =====
85
+ theme = gr.themes.Default(
86
+ primary_hue="emerald",
87
+ secondary_hue="amber",
88
+ font=[gr.themes.GoogleFont("Poppins"), "Arial", "sans-serif"]
89
+ )
90
+
91
  # ===== GRADIO INTERFACE =====
92
  with gr.Blocks(theme=theme, title="SelamGPT Image Generator") as demo:
93
  gr.Markdown("""