Spaces:
Running
on
Zero
Running
on
Zero
NikhilJoson
commited on
Commit
•
8a8f172
1
Parent(s):
7a144d8
Update app.py
Browse files
app.py
CHANGED
@@ -1,11 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import torch
|
2 |
import spaces
|
3 |
import gradio as gr
|
|
|
4 |
from diffusers import FluxInpaintPipeline
|
5 |
-
import random
|
6 |
-
import numpy as np
|
7 |
import google.generativeai as genai
|
8 |
|
|
|
|
|
9 |
MARKDOWN = """
|
10 |
# Prompt Canvas🎨
|
11 |
Thanks to [Black Forest Labs](https://huggingface.co/black-forest-labs) team for creating this amazing model,
|
|
|
1 |
+
#Importing required libraries
|
2 |
+
import os
|
3 |
+
import random
|
4 |
+
import numpy as np
|
5 |
+
|
6 |
import torch
|
7 |
import spaces
|
8 |
import gradio as gr
|
9 |
+
|
10 |
from diffusers import FluxInpaintPipeline
|
|
|
|
|
11 |
import google.generativeai as genai
|
12 |
|
13 |
+
|
14 |
+
|
15 |
MARKDOWN = """
|
16 |
# Prompt Canvas🎨
|
17 |
Thanks to [Black Forest Labs](https://huggingface.co/black-forest-labs) team for creating this amazing model,
|