prithivMLmods commited on
Commit
372d193
·
verified ·
1 Parent(s): 5024991

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -8
app.py CHANGED
@@ -9,14 +9,11 @@ import spaces
9
  import torch
10
  from diffusers import StableDiffusionXLPipeline, EulerAncestralDiscreteScheduler
11
 
12
- DESCRIPTIONx = """
 
 
13
 
14
- <div style="text-align:right">
15
- <iframe src="https://prithivmlmods-hamster-static.static.hf.space/index.html" width="560" height="315" frameborder="0" allowfullscreen></iframe>
16
- </div>
17
-
18
-
19
- 🗞️Machine learning X web app production aspirant <br>🚀I'm currently pursuing a degree in info-tech<br>🌠Looking to collaborate on projects<br>🔮Currently learning MLOps<br>ℹ️Open to talk about web app production & deployments.<br>🚧Focused | Smarter | Faster
20
  """
21
 
22
  # Use environment variables for flexibility
@@ -121,6 +118,7 @@ footer {
121
 
122
  with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
123
  gr.Markdown(DESCRIPTIONx)
 
124
  with gr.Group():
125
  with gr.Row():
126
  prompt = gr.Text(
@@ -226,4 +224,4 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
226
  )
227
 
228
  if __name__ == "__main__":
229
- demo.queue(max_size=50).launch()
 
9
  import torch
10
  from diffusers import StableDiffusionXLPipeline, EulerAncestralDiscreteScheduler
11
 
12
+ # Load the HTML content
13
+ html_file_url = "https://prithivmlmods-hamster-static.static.hf.space/index.html"
14
+ html_content = f'<iframe src="{html_file_url}" style="width:100%; height:500px; border:none;"></iframe>'
15
 
16
+ DESCRIPTIONx = """## STABLE HAMSTER
 
 
 
 
 
17
  """
18
 
19
  # Use environment variables for flexibility
 
118
 
119
  with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
120
  gr.Markdown(DESCRIPTIONx)
121
+ gr.HTML(html_content) # Add the HTML content here
122
  with gr.Group():
123
  with gr.Row():
124
  prompt = gr.Text(
 
224
  )
225
 
226
  if __name__ == "__main__":
227
+ demo.queue(max_size=50).launch()