ashishtanwer commited on
Commit
2e792f7
·
1 Parent(s): 49cefd7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -1,7 +1,10 @@
1
  import torch
 
 
2
  from torch import autocast
3
  from diffusers import StableDiffusionPipeline, DDIMScheduler
4
  from IPython.display import display
 
5
 
6
  model_path = WEIGHTS_DIR # If you want to use previously trained model saved in gdrive, replace this with the full path of model in gdrive
7
 
 
1
  import torch
2
+ import os
3
+ import gradio as gr
4
  from torch import autocast
5
  from diffusers import StableDiffusionPipeline, DDIMScheduler
6
  from IPython.display import display
7
+ from text_generation import Client, InferenceAPIClient
8
 
9
  model_path = WEIGHTS_DIR # If you want to use previously trained model saved in gdrive, replace this with the full path of model in gdrive
10